#ifndef QTANIMATIONLOG_H
#define QTANIMATIONLOG_H

#include "QtAnimationCommand.h"
#include "QtAnimationGroupCommand.h"
#include <list>


class QtAnimationLog
{
public:
	QtAnimationLog();
	~QtAnimationLog();

	void BeginCommandGroup();
	void EndCommandGroup();

	void AddAnimationCommand(QtAnimationCommand* command);


	bool Empty() const;
	void Execute();
	void DropFront();
	
protected:
private:
	std::list<QtAnimationCommand*> commands;

	QtAnimationGroupCommand commandGroup;
};

#endif //QTANIMATIONLOG_H
